export async function interopDefault<T>(module: Promise<T>): Promise<T> {
  const result = await module;
  return (result as any).default || result;
}
